package com.qbd.dao;

import java.util.List;
import java.util.Map;

import com.qbd.model.Product;

public interface ProductMapper {
    int deleteByPrimaryKey(String id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKeyWithBLOBs(Product record);

    int updateByPrimaryKey(Product record);
    
    Long getTotal(Map<String, Object> map);

	List<Product> selectByPage(Map<String, Object> map);
	
	List<Product> selectByAid(Map<String, Object> map);
	
	List<Product> selectByAll(Map<String, Object> map);
	
	List<Product> selectByAidAndName(Map<String, Object> map);
}